from typing import List, Optional, Dict, Any
from pydantic import BaseModel
# 定义集合模型
class CollectionModel(BaseModel):
    name: str
    metadata: Optional[Dict[str, Any]] = None


